Remove warning messages of too lenght and first&last image