fixed ajax link bug (I think)