fixing jQuery issue