remove a half finished snippet