minor ajax fix