fixed problem with portrait orientation on publisher