solve the dangdang's bug