finally got it to load the layout