added handling of unknown csy