Ajax minor fix