hacky fix because i can't figure out the weird jquery error