fix alarm not playing twice