finally found the damn error