Problems using the quest journal v1.0.3

So I do not know what is going on here..

Mod: http://rmrk.net/index.php?topic=45127.0
The modified script: http://pastebin.com/ypitEaMj

I just made a quest and as soon as i have done the "reveal_objective(x, x)" and then take a look in the quest list (by pressing Q) it crashes and gives me this message:

 [IMG]http://i.imgur.com/CAaGsdv.png[/IMG]
 
I am not sure whether this is what is causing it but line 870       q[:layout]            = false    should go after the bracket on 871 change around
Yes, the q[:layout] got into the wrong line, it is not part of the reward sequence.


Also please make a new line after each quest - the quests start with the when part of the command, and that command needs to be in a new line and should not be directly after the closing bracket of the previous quest rewards.
it worked thanks

Original thread: https://forums.rpgmakerweb.com/threads/problems-using-the-quest-journal-v1-0-3.32098/