fixed snippet