fixed issue with catching an exception incorrectly
Forced port to remain the same, not too good of an idea I would say