fixing some flags from VIP