+++ fixed error for linux environment
+++ fixed warnings