more changes in CustomKrakLoader