fixes that Andrew told me during the hackathon