fix transparency problem
prepare for dynamic parsing