undefined references were fixed.