bug fixes
bug fixes
Fixed pause bug