Fixed bug left after config change