fixing random point call