fixed PBC for TE/TM modes