Fixed error for Nancy