fixed typo on completenames() with Adar Grof's help