fixing debug message