fixed rail colision
working on ai