fixed handling args to for