attempting to fix ajax