Fixed bad size meassurement