fixed classes and ajax only calls