Fix seg. fault when the inputa file is empty and fix po files error.