commiting open to openrc and fixing check to replace method