Fixed bad initialization