undo for now the check of ajax as it's not working on the server