Fixing bug when releasing