fixing error on internal