fix open button closure