some minor fixes
version ugrade: 0.3 -> 0.4