bugfix removed local reference