FIxed invalid type argument of ->