bugfix for statif file path