fixing bug config