fixing spelling error, changing sample to samples on client side since we like consistency