compalitity && navigator bug fix