wrong sequence of bracket close