fix the append bug and rewrite makfile