Fixing railtie integration