Changed detail requests to call layer id insted of layer names