fixed hooks output break line issue