fixing bug in production