fix warnings/50700 stuff