fixed a bug with a missing controller