endpoint problem solved