fixed hanging and running fine