fixed jquery issues