Fixed some really weird errors.
Fixed weird error.