fixed a bug where props information would be overwritten