fixed assembly passes flow, debug added