make errors a bit more lenient