Fixed input core and a minor issue in CoreManager