Wrong printf formats fixed.