improved build variable rendering