fixed reference problem with __callback and __error_callback in SpecCommand