Few small fixes,
added support for textarea in templates