part of changed for imagechange