small bug fix

frame printing error corrected