Fixed bug in Railtie