bug fixes

fixed error when removing existing object files
fixed error when saving pre-made object files