fixed nl problem (#52)