correcting an ajax probleù