fixed STMATH database dependencies