Fxes small bugs.