fixing alts bug