add warnings for improper args