fixed error when aws cred file not found
small changes