fixed possible crash
fixed possible crash