Residents moved out of unsafe apartment building