fixing misred of :id as :$id instead of $id