Bug fix for xtal entry.