Fixing bugs in adding group table
Changing percentage to real number