fixed the proper variable format