fixed patch checking