me fixing mainjs