small snippet fixes