fix failing location spec

This fixes the failing location spec. (had no clue what I was doing so someone should have a look at it)