broken loader code