BUgfux

Fixed bug with selecting variables with different size