fix for issue when setting the root view controller again later