Fix required error in global