allow attribute "default" set to funciton
version 0.2.10