Detached FL state tested and fixed
logging made right