change interface for debug mode