bugfix using original dimensions, not set up dimensions