add general refp(strong) in hope to solve mem problems
add refp to ref_str, add assert
change dir