snippet formatting fix