instead of using unset() for removing imported elements from array using array_splice now to preserve continous indexes
fix to previous commit