Corrected a type resulting in code not compilable anymore