cleaning up warnings, exception util