fixed warning introduced by previous commit