fix crash in perspective correction
client OK