fix a corner case