fixes error in code display