Fix problem when no paths isset