fixing fragments