removed unnecessary event handler