avoid exceptions on startup due to incorrect metadata