fixed bug with navigation set as active