Scheduling classes and staff availability conflicts

Question:
I have classes set weekly and staff assigned. If a staff member can not run a class, and they have their google calendar synced, it shows the staff member as busy - but it does not ‘block’ the class as now unavailable as it can’t run without a staff member… How do I fix this?[Clearly ask your question.]

Product:
[Wix Studio.]

What are you trying to achieve:
[I want to plan weekly classes but if the staff member is unavailable in personal google calendar it should not allow bookings into the class

What have you already tried:
[I have ensured calendars are synced, right permissions are given. It works for appointments, but not classes]

Additional information:
[Include any other pertinent details or information that might be helpful for people to know when trying to answer your question.]