bugfix location reference