Commit not working?