Change prefix creation method; solves a double-spacing bug