commit before using jsf