commit not working