fixed recursive build