fixes snippet