fix galleria loading