fix course sidebar count