fixed rexfile