improve error log when removal fails