Fixing stupid error. Still have to solve some reporting issue.