Fix position of variables declaration.