well it doesn't behave correctly but at least it doesn't crash