The issue was that it was operating in debug mode. Changed that in admin settings and now working properly.
Thanks.