fixed problem with loader

fixed problem with loader