fix for cloud number check