check Sandbox type in Core constructor