added password_compat