fixed calling display without setting the display atom