attempt to fix double equals sign bug