fix bootstrap script for unconsitent data