Fixes prepare() warnings