fixed the bug introduced by the previous bugfix (I know...)