fixed layout bug after new partial