[improvement] Add assertion to verify using of new (#698)
* [improvement] Add assertion to verify using of new
I see people are asking about this problem so often, that
I feel it worth to put this assertion into the code to
save some time for those developers.
* [fix] Revert dist folder