fix for brackets in methods