fixes on deq function: missing module