fixed: type of vardecl must not be saved