fixes for the latest imprempta version