avoid some warnings by not using macros