fix problem with default value

Solve problem described at #22.