changed friendly id to :id