debug
bug fix with sed -i