fixed typo in beacon finding