Fixed multichar and unsused var warnings