fixed linux compiler warnings