add more understandable errors