fixed last warning (only in release mode)
center found item