cleaned up some warnings compiling on linux gfortran