add warnings for last argument problem