fx a error and add some codes