fixed rwd bug