z-index crap
changed db class