socket carriege return fix
determine absolute path