credit line bug fix
format fixs for hook test