fix check type bug