pass commit properly