Currency hibernate
some fixes