trying to fix some compiling issues...