once snippet fixed