Fixed the issue with the 500 error code + added reset button to search box