compiling issues of implicit conversions