fix cap sizes