Fixed some warnings

:thumbsup: