Changed order of some lines in kryo connection - possible bug solution