replace || with &&