Fix ajax actions