Fix navigation hash problem