Fixed misplaced volatile keyword