small rebuilding and add min file