Armed home invasion goes wrong