Fixed a possible exploit