fix problem with requires defined automatically