bugfix: do not use folder to calculate the hash