Fixed ajax error
Fix for ajax
Clean and simple