fixed the prop arg issue