Fixed weird errors.