fix core module compiler errors, removed redundant methods