fixed railtie issue