fixed unsupported file bug