diff --git a/build.xml b/build.xml
index 6499795165d7ea313a591f66a5e4f068b568f9ae..43a8959062d172ea91abf3c777013dc5ac8bcfdf 100644
--- a/build.xml
+++ b/build.xml
@@ -74,7 +74,7 @@
         <property name="store.jar.name" value="LiFiBenchmarkFat"/>
         <property name="store.dir" value="dist"/>
         <property name="store.jar" value="${store.dir}/${store.jar.name}.jar"/>
-        <echo message="Packaging ${application.title} into a single JAR at {${store.jar}"/>
+        <echo message="Packaging ${application.title} into a single JAR at ${store.jar}"/>
         <!--<delete dir="${store.dir}"/>
         <mkdir dir="${store.dir}"/> -->
         <jar destfile="${store.dir}/temp_final.jar" filesetmanifest="skip">
@@ -94,6 +94,8 @@
             </fileset>
         </copy>
         <chmod dir="dist" perm="u=rwx,go=rx" includes="**/*.sh"/>
-        <delete file="dist/README.TXT"/>
+        <delete file="${dist.dir}/README.TXT"/>
+        <delete file="${dist.jar}"/>
+        <delete dir="${dist.dir}/lib"/>
     </target>
 </project>