bug in jquery selector fixed