modify availability directive calendar.  Still buggy.