removing plugin and removing image tag