random ui error without time module