fixing output