snippet fix