fix bugs in importing excel file data
tuned for deployment