server: more compatibility fixes for 0.8
1.7.5