Row count bug and arg error