Fixed mistaken removal to result element which prevent result from being shown