Fix a bug that coudn't handle marker param correctly