fix the random property; sadly still doesn't find the bug Danny found