fix for removing medium instead of large