Fixed bug that there is a bracket missing in frames