try to fix startup crash