[INTERNAL] removed redundant code