try make error message more informative