autosize done
merged 2013-04-04 learing