ghosts commands in the database