Fixed bugs in custom forms and STR definition
Fixed bug on reporting