fixed ajax setup