fixed broken preview fixes #49