fixing reload funct