fixed pre release bugs