fixed error with jquery