Fixed a potential error