removed logging and fixed submutKey