fix empty course table showing issue