Fixing a bug with the handlers config option