add device param to handler