change how errors work