fixing bug in loose configuration