loader bug fix