Fixed core.h error