fixing bug introduced in commit 4185e8af14704e83e1c5d8fd3d14c33c4cb1f7f4