fix render method

In the last PR #5 I messed up the `rendered` methods.

This should fix that issue. 
Sorry about that :flushed: .