FIXED: renderFlashMessages error still appears