modified grouped to stack bar