fixed issue with func def