quick fix for self-closing block