actually fixed jquery bug