fix fix fix that logan helped me fix