Removed repeated semantic errors