removed edges from trail layout and catch now parsing errors