fix bug on change navigation