showing error message before shell