some fixes for using another db as H2