fix really stupid bugs