fixed issue with jQuery