fixed problems with hsql database