found and fixed random library problem