bug fix with echo