use braces in cleanup block