fix crash
safety