Fix min and max type to int pointer. 
Fix server console statistics print.