fixed navigation bug