Fixed new contract ajax