main bugs