fix #36

dynamically managed resources