Fix custom spec