Fixed error when program starts without defaultstudy.cfg