fixing 6A code