LPS-45310 trash check to improve performance