Minor corrections

Some redundant codes were detected and deleted