fixxed crash bug on Button