fix dropdown menu hidden problem