refactor handle

Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com>