fixed false unavailable status on modal