Fixing head and erasin some unneeded files