provide more information in warning