added correct url after ajax call