fix layout with loader