For me, setting this variable in the config function didn't work. Putting it outside the return block did the trick.