bug fix with group view option