fixed bug in components.html and dropdown component