Closing if fi gap