fix bug in component image version