clean some warnings