fix title scope issue