Fixed wrong construction for app scope bean