fixed syntax for calling rendering directive