removed redundant pcase nil