fixing some refs