fixed wrong use of thiz