blatant bug fixed