fixing bug when bank button