fixed bug stderr