commit before using guard