handling core reload()