bug fix
debug messages
correcting sed
delete debug message