fixed uniform# refresh, TODO doc updated...