fix calling inner method