fixed output bug to work with newest im3shape
test