[Warnings] Fixed warnings that Friti reported, thanks friti!