Erdogan tells Germany to rectify resolution 'mistake'