fixing atofproc and ftoa proc and macros