Solving weird bug.