fix spelling error of intval()