fixed retro-compatibility issue introduced recently