And yet another fix to 5043f2f8688fa70ef846f7870081fc1d5884101c (note to self: copy paste ruins everything)