Fix single extension bug.