finally fix resume button bug