set correct url for ajax and not
type ding NOT ing