Fix for railtie