fixed PieUser bug in DB