bug fixed for rectSize value

bug fixed for rectSize value