removes image subcaptions