added migrations
small fixes