continuing xCard development
fixed some errors