added parse_qual to module string
conficts
removed cast function