fixed course supplements logic error