BUG in Hide formula ond lotus script

I think there is a BUG in Domino 6.0.

I create a database and i create the template, i create a new database that inherit from a template and i Hide the design (i flags “Hide Formula…”) the agent that use JavaScriptLibrary do not work properly.

I create the same database with domino 5.09 and all work properly!!!

Is it correct? Is it a bug?

Help me please!!!

if you want i can send the database (R6 and R5)for look my code

Sorry for my English!!!