add extent fix and comment