fix BaseController::redirect()
more robust data preparation in scaffold-helper