Fixed old versions crash