small fixes for compilation and help