fixed gp status setting when closed