storage: fix some minor issues with #commit