remove ' from debug message