some debug in shape and range