Fixed some bugs and added scroll of magic mapping.