args of lyr can not be null