some optimization improvements
fixed tests
fixed attr name
handler as coroutine