fixed details and groups bugs