fixed problem with hard links