fix preview resolution