make initialization more graceful