station: fix bugs in initializing station objects