removed causes of some warnings