prevent a subtle bug in the future