Error in singleton argument check