fixes opening in given axis
fixes lines - now lines are in relevant units