solved double button problem