Fixed bug in import from excel