Fixed build core error