some tweaks for foundation