Removing of some warnings