fixed pay button crash bug