minor change to when size is set