updates to fix some minor problems