Fixed a bug with error logging

Also, removed forcibly* function - it is no longer relevant.