Clean up task inputs