fix loading railtie