Fix warning return non-void function
Fix warning bad format arguments