fixing poker endpoint