Fix bugs due to clang warnings...
Fix omalloc