Config app for windows, fix error in search function