fixing debug instructions