Fixed controller initialization.