improve error message for this case