fix endpoint shenanigans, missed $() around this