fixing the stderr