Fix/init command splice issue