solved ajax issue