add commit check, add friend check
fix comment bug