fixed ressource controller to accept more names