fixed small bug in back.py