added config ans fix test