Fix internal check