fixed ] error