move console profileEnd before stop call