fixed missing spec callback