Added replace to boolean