FIX: will work for postgreSQL

subsites will fail with this module if running on PostgrSQL