fix method call bug in header partial