fixed ajax bug and admin navigation bug