Fixed type causing major bug.