remove unneeded snippet