fixed refs #2