add more info in case of error