fix size hints. Closes T662