v 1.2.0

delete duplicate code