I don't know what filter/pump you have, but I know that a lot of pumps/filters that are immersed in the water aren't supposed to be running when they're out of water. Whenever I do a water change in one of my tanks that uses an immersed pump/filter, I alway disconnect the pump until I've finished the water change and only then do I switch the pump back on.