fix code style in common