Fixed dep domain bug and removed debug print