fix upload and vertical restriction