Fixed invalid type sting error