closing operation border error fix