Cool i deleted that line and it works but i have to press H twice casue the first time always fails. Theres also this...
Error while running event TrainsWhistle::on_preplayer_mined_item (ID 11)
TrainsWhistle/events/globalEvents.lua:114: attempt to index field 'station' (a nil value)after trying to delete a train.