fix bug about innerjoin