problems with invisible fragment solved