fix configuration to get packages correctly