fixed half of jquery problem