fixing the select wrapper class