Revert "-- fix. search constructors in static functions"

This reverts commit 55d2bf4042b7bcaa753372ee4ede4224bbf1bf3c.
--fix. search construct in static functions.