committing changes before switching back to object branch