added chek for string in require