Try to resolving "not declared scope" error