fix directory checking in dashboard /shot/<id>