some changes to avoid warning
Merge pull request #1 from aki2o/avoid-warn

some changes to avoid warning