Fixed catch_warnings
formstting changes