fixes double delete in phing script