Solved global navigator bug