fix cast
Merge branch 'master' into mbta