fix ltrain and shaw