Adding scaling order to dependency tree
fixing inActive issue and removing unnecessary logs