fixing random stuff