fix this__fname__ variable issue