second fix for nens/lizard-nxt#398