added default value for prop details.