Fixing bug navigation to other page