fix pause bugs