Fixed typing bug and partner allocation bug

Thanks Reddit…