fixed searching with regards to approval