fix import random