fixing small propfunc bug