Fixing some bugs and Fragments distribution.