Fixed ManagedBean's issue.