warning fix; %lu to %d