1. refactor gen roport logic
2. version update to 2.2.4