fixed error

renamed temp deviceContext