fix lapply imports conflicts