enhance spec configuration