reworked checking errors
CS1737
CS0231