fixed bug in expand static nwhen no to.icon given