some reference fixes