Graham Potter admitted he has problems to fix at both ends of the pitch after Crystal Palace condemned him to a first Premier League defeat as West Ham boss.