fixed has references for single reference