How to fix a loose and tight condition