fix scheme garbage character issue