adding ctor to Local and revert call to it within Temporary

@bartv2 @icewind1991 @karlitschek THX