Fixed bug. Random seed key need to be set.