Corrected the type of the object param