Moving variable declaration
Fixing Fragment tag.