fix duration or properties is empty issue
fix wrote bug