fix resume button errors