some quick fixes to prevent compiling problems