fixed some preamble stuff