fixed statif file assignment