add missing dependency
fix some formattings