removed DS_Store
optimized error handling for HRequest module and fixed post method