Fixing terminal close button