attempts to fix activity object etc..