fix foundation form issue