fixed Controller::getData()