freeze using commit number