debugs fixed