Refresh using director class

I’m trying to get my level to refresh by using director class however when i try to do so i get this error message in the terminal:

Runtime error
…Users/marthwolf/Desktop/Bounce Squirrel/director.lua:117: ERROR: table expected. If this is a function call, you might have used ‘.’ instead of ‘:’
stack traceback:
[C]: ?
[C]: in function ‘insert’
…Users/marthwolf/Desktop/Bounce Squirrel/director.lua:117: in function ‘loadScene’
…Users/marthwolf/Desktop/Bounce Squirrel/director.lua:394: in function ‘changeScene’
/Users/marthwolf/Desktop/Bounce Squirrel/main.lua:11: in function ‘main’
/Users/marthwolf/Desktop/Bounce Squirrel/main.lua:16: in main chunk
Runtime error: …Users/marthwolf/Desktop/Bounce Squirrel/director.lua:117: ERROR: table expected. If this is a function call, you might have used ‘.’ instead of ‘:’
stack traceback:
what should i do to fix this error? [import]uid: 71568 topic_id: 13050 reply_id: 313050[/import]

do you have director 1.3? [import]uid: 24641 topic_id: 13050 reply_id: 47993[/import]

Yes, I think so should I use an earlier version because I have been having a lot of trouble using director class, not getting it to work properly?
[import]uid: 71568 topic_id: 13050 reply_id: 48854[/import]

what can be causing director to not work properly?
[import]uid: 71568 topic_id: 13050 reply_id: 49024[/import]

figured it out you just have to take the .lua off the end when transitioning screens [import]uid: 71568 topic_id: 13050 reply_id: 49074[/import]