fix #36

dynamically managed resources
fix #36

fixed rcid values
merge