Fix Dynamic serialization and Sample List Resize