bug fix in snippet additions