Fixed warnings of unsave conversion.