Removed unsused import and some warnings from string assignments