Fixed error when converting function with no arguments, fixed issue with commented out arguments