fixed referencing behaviour