fixed pathelement issue,everything's in working order now