Closing bracket missing from tail