fixing bug and deploying