Fixed the error. Renamed b -> span