small tweeks to make migrations working