Fix some style errors in sub editor