add todo and correct devnull variable