Fix function & params bugs