bug fix for dropping down after a match