fixes in downloadables_controller (resorce controller)