fix commit in different pages