fixed issue with non-function methods being converted