Authorization - saved scopes are not showing in Permission Form

Hi , we are using Keycloak 17 and we have created some permissions with resource and scope based. Keycloak is not showing the saved scopes in permission form when we select the permissions. This is very difficult to adding scopes again to permissions. Can you please help on this regards Thanks