Fix. Templates remove debug info. issue938