try this.
another fix for init layout