corrected integer value errors