fixed slot #undefined and added time to search