removed image size validation