course dao fix, view course detail fix