fix to remove stderr messages