interface error checking