remove unneccessary snippet