fix plotselimages() order