fix a introduced bug