improve handlers' constructors