snippet fixes