Disable useless code; Fix loginc