fixing type screenshot errors