fixed double tip bug