commit to log fixed