Fixed really stupid compiler errors