Fixed an introduced bug