Fixing invalid type.