add method to set display environment variable
fix call