cs fix, made types consistent with Hack