bug fix for group view