fixed type that broke jquery