Fixed ajax in components