remove layer arg from slot