fixed issue with unregister android (undid change made cause of test case)