fix bye code