;-) the reason was that this is the general function. changed to `n_locations`.