fixed double-border-muliplication bug