Remove few lines from lore code