Fix warehouse find func