finished error checking in designer