Proper Gate Error Code
merge