replace find with constant