Fixed wrong output.