Fix nasty error