remove trailing white spaces
display warning for orders of magnitude