fix getting static inactive users + test