correcting testing mode