added support for select tag