fixing changes with sub images