fixes config option not working

fixes #2