fixed my huge mistake