should fix some warnings