Fixed the no pause issue