fixed the terible mistake