multiple ajax calls fixed