resolving compiling issues