Fixed potential exception