corrections to ajax url and request getter