extra error checking 4 - stupid error again