Fix settings on first migration