fix views bug and add groups grid