fixed args check