Fixed some errors in config