get rid of the error on block click