check null in CropPanel.getString