fixing load regex to match correctly