dd to check for errors