[FEATURE] errors_restricted_cs added

better error localization