fix 777 issue