applying the fernando tweak to save 1px