Fixed potential error