changed to trail id in serializer