change @ManagedProperty to @Inject