fix a small bug in base_data_layer to make it compatible with crop mode