fix chain adn loader