update to remove some warnings