bugfix in resource show view